package com.senlingspace.framework.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * 微信小程序鉴权uris
 *
 * @author lebronjames
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "security.wechat-mini-app-protect")
public class ProtectUriProperties {

    /* 名单配置，需要token访问 */
    private List<String> uris = new ArrayList<>();

}
